#include <stdio.h>

int MySum(int top)
{
    int i = 1;
    int sum = 0;
    for(; i < top; i++){
        sum += i;
    }

    return sum;
}

int main()
{
    printf("process begin running...!\n");
    int result = MySum(100);
    printf("result: %d\n", result);
    printf("process end running...!\n");
}
